//
//  UIImageView+AddImageName.m
//  WWTQ
//
//  Created by JP on 2018/11/1.
//  Copyright © 2018年 Jqert. All rights reserved.
//

#import "UIImageView+AddImageName.h"

@implementation UIImageView (AddImageName)

+ (NSString *)addImageName:(NSString *)imageName {
    NSString *name;
    if ([imageName isEqualToString:@"晴"]) {
        name = @"sun";
    } else if ([imageName isEqualToString:@"多云"]) {
        name = @"duoyun";
    } else if ([imageName isEqualToString:@"阴"]) {
        name = @"yintian";
    } else if ([imageName isEqualToString:@"阵雨"]) {
        name = @"zhenyu";
    } else if ([imageName isEqualToString:@"雷阵雨"]) {
        name = @"leizhenyu";
    } else if ([imageName isEqualToString:@"雨夹雪"]) {
        name = @"yujiaxue";
    } else if ([imageName isEqualToString:@"小雨"]) {
        name = @"xiaoyu";
    } else if ([imageName isEqualToString:@"中雨"]) {
        name = @"zhongyu";
    } else if ([imageName isEqualToString:@"大雨"]) {
        name = @"dayu";
    } else if ([imageName isEqualToString:@"暴雨"]) {
        name = @"baoyu";
    } else if ([imageName isEqualToString:@"大暴雨"]) {
        name = @"baoyu";
    } else if ([imageName isEqualToString:@"特大暴雨"]) {
        name = @"tedabaoyu";
    } else if ([imageName isEqualToString:@"阵雪"]) {
        name = @"zhenxue";
    } else if ([imageName isEqualToString:@"小雪"]) {
        name = @"xiaoxue";
    } else if ([imageName isEqualToString:@"中雪"]) {
        name = @"zhongxue";
    } else if ([imageName isEqualToString:@"大雪"]) {
        name = @"daxue";
    } else if ([imageName isEqualToString:@"暴雪"]) {
        name = @"baoxue";
    } else if ([imageName isEqualToString:@"小雨-中雨"]) {
        name = @"xiaoyu";
    } else if ([imageName isEqualToString:@"中雨-大雨"]) {
        name = @"zhongyu";
    } else if ([imageName isEqualToString:@"大雨-暴雨"]) {
        name = @"dayu";
    } else if ([imageName isEqualToString:@"暴雨-大暴雨"]) {
        name = @"baoyu";
    } else if ([imageName isEqualToString:@"大暴雨-特大暴雨"]) {
        name = @"tedabaoyu";
    } else if ([imageName isEqualToString:@"小雪-中雪"]) {
        name = @"xiaoxue";
    } else if ([imageName isEqualToString:@"中雪-大雪"]) {
        name = @"zhongxue";
    } else if ([imageName isEqualToString:@"大雪-暴雪"]) {
        name = @"daxue";
    } else {
        name = @"wushuju";
    }
    return name;
}

@end
